package com.hhsjdesign.dynamicui.core.widgetdata

import com.hhsjdesign.dynamicui.annoprocess.ADynamicUI
import com.hhsjdesign.dynamicui.annoprocess.AWidgetData
import com.hhsjdesign.dynamicui.core.property.widget.GridVWidgetProperty
import com.hhsjdesign.dynamicui.core.property.widget.ISpecPropertyTransformer
import org.json.JSONObject

/**
 * 纵向gridview组件数据
 * VerticalGridLayoutProperty
 */
@ADynamicUI
@AWidgetData(WidgetTypeConst.GRID_VERTICAL)
open class GridVWidgetData(jo: JSONObject) : WidgetData(jo),
    ISpecPropertyTransformer<GridVWidgetProperty> {

    override fun transformWidgetSpecProperty(): GridVWidgetProperty {
        return specProperty as GridVWidgetProperty
    }

}